//
//  NewsModel.m
//  B
//
//  Created by lanou on 16/5/7.
//  Copyright © 2016年 裴启航. All rights reserved.
//

#import "NewsModel.h"

@implementation NewsModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        self.fromWhere = value;
    }
}

+(instancetype)modelWithDic:(NSDictionary *)dic
{
    NewsModel *model = [[NewsModel alloc]init];
    [model setValuesForKeysWithDictionary:dic];
    return model;
}

@end
